package com.ruoyi.system.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 资产借出申请对象 sys_asset_borrow_apply
 * 
 * @author sxy
 * @date 2025-03-26
 */
@Data
public class SysAssetBorrowApplyVo
{
    private static final long serialVersionUID = 1L;

    /** 申请ID */
    private Long applyId;

    /** 资产名称 */
    @Excel(name = "资产名称")
    private String assetName;

    /** 资产编号 */
    @Excel(name = "资产编号")
    private String assetNo;

    /** 申请人 */
    @Excel(name = "申请人")
    private String applicantName;

    /** 借出数量 */
    @Excel(name = "借出数量")
    private Long borrowQuantity;

    /** 借出原因 */
    @Excel(name = "借出原因")
    private String borrowReason;

    /** 预期归还日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "预期归还日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date expectedReturnDate;

    /** 审批人 */
    @Excel(name = "审批人")
    private String reviewerName;

    /** 审批状态 */
    @Excel(name = "审批状态")
    private String reviewStatus;

    /** 驳回原因 */
    @Excel(name = "驳回原因")
    private String overruleReason;

    /** 实际归还日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "实际归还日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date actualReturnDate;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

}
